
function renderBounceText(){
    const text = "WELCOME TO HTML-TS"
    const text_list = 
    text.split("").forEach((item,index)=>{
        let span = document.createElement("span")
        span.style.setProperty("--delay", `${index * 150}ms`);
        span.innerHTML=item!==" "?item:'&nbsp;'
        document.querySelector(".bounce-text-main")?.append(span)
    })
    
}
renderBounceText()